package com.group9.handinhand.service.so;

import com.group9.handinhand.dao.model.EventPost;

/**
 * Class for service of event posts
 *
 */
public class EventPostSO extends PostSO {

	private EventSO event;
	/**
	 * converts event post model object
	 * @return
	 */
	public EventPost convertToModelObject() {
		EventPost model = (EventPost) convert(new EventPost());
		return model;
	}

	public EventSO getEvent() {
		return event;
	}

	public void setEvent(EventSO event) {
		this.event = event;
	}

	@Override
	public String toString() {
		return "EventPostSO [event=" + event + "]";
	}
	
	
	
}
